<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=192.168.2.119;dbname=asr',
            'username' => 'root',
            'password' => 'root',
            'charset' => 'utf8',
        ],
//		'db_crm' => [//为外面的数据库，WayMi的数据库
//				'class' => 'yii\db\Connection',
////				'dsn' => 'sqlsrv:Server=192.168.2.247,1433;Database=cti_B',
//                'dsn' => 'dblib:host=192.168.2.247;dbname=CTI_B',
//				'username' => 'sa',
//				'password' => '54321',
//				'charset' => 'utf8',
//				//'persistent'=> false,
//				'enableSchemaCache' => true,
//				// Duration of schema cache.
//				'schemaCacheDuration' => 300,
//				// Name of the cache component used. Default is 'cache'.
//				'schemaCache' => 'cache',
//		],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => true,
        ],
    ],
];
